
/*商城全部样式*/


/*框架样式*/
html, body {
    height: 100%;
    width: 100%;
    font-family: 微软雅黑
}



#wrap {
    height: 100%;
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-flex-flow: column;
    flex-flow: column;
}

#main {
    -webkit-box-flex: 1;
    -webkit-flex: 1;
    flex: 1;
}

#footer {
    width: 100%;
    text-align: center;
    height: 56px;
    line-height: 55px;
    background-color: #f40;
}

/*
ul {

    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
}
*/


/*默认底部按钮图片*/
.index {
    background-image: url(../images/bt1.png);
}

.category {
    background-image: url(../images/bt2.png);
}

.cart {
    background-image: url(../images/bt4.png);
}

.user {
    background-image: url(../images/bt5.png);
}

#footer li {
    -webkit-box-flex: 1;
    -webkit-flex: 1;
    flex: 1;
    height: 55px;
}

/*默认底部字体*/
.bottom_btn {
    background-position-y: 4px;
    padding-top: 16px;
    font-size: 12px;
    color: #ffffff;
    width: 99%;
    height: 39px;
    background-repeat: no-repeat no-repeat;
    background-position-x: center;
    background-size: 30px;
}


/*点击底部改变图片*/
.active .index {
    background-image: url(../images/bt1_o.png);
}

.active .category {
    background-image: url(../images/bt2_o.png);
}

.active .cart {
    background-image: url(../images/bt4_o.png);
}

.active .user {
    background-image: url(../images/bt5_o.png);
}

/*点击底部按钮改变字体*/
.active .bottom_btn {
    color: yellow;
    background-size: 30px;
}

/*头部样式*/
.topbar {
    background: #f40;
    height: 50px;
    border-bottom: 1px solid #DDDFE3;
    line-height: 50px;
    text-align: center;
    font-size: 16px;padding-top:0px; color: #fff;
    display: none;
    color: #ffffff;
}

/*焦点头部显示*/
.activebar {
    display: block;
}




/*窗口页头部*/
.topbar .back-icon{
    display: inline-block; width: 50px; height:50px;
    background: url(../images/arr-l.png) no-repeat center center; 
    -webkit-background-size: 14px 18px;
    background-size: 14px 18px;
    position: absolute; left: 0; bottom: 0;
}

.topbar .right-icon{
    display: inline-block; width: 50px; height: 50px;
    background: url(../images/search.png) no-repeat center center; 
    -webkit-background-size: 14px 18px;
    background-size: 20px 20px;
    position: absolute; right: 5; bottom: 0;
}


.topbar h1{
   font-size: 16px;padding-top:0px; color: #fff;
}

.topbar .topbar_right{
    width: 50px;height: 50px;position: absolute;right: 5;bottom: 0;
}


 

#header .til h1{
   font-size: 16px;padding-top:0px; color: #fff;
}


#header {background:#ff9f2f;z-index:99999;height:50px;}







/*首页商品列表头部样式*/
.am-slider-a2 .am-control-nav li a{border-radius:5px;}

.am-text-primary{color:#f40;}
.am-text-secondary{color:#f40;}
.am-titlebar-title{color:#62b0ac;}
.am-titlebar-multi{border-top:2px solid#ff7c4d;background:#f5f5f5;border-bottom:1px solid #e8e8e8;}
.am-titlebar-default .am-titlebar-title:before{border-left:3px solid #F42}
.am-titlebar-multi .am-titlebar-title{color:#62b0ac}
.am-titlebar-multi a{color:#f40}



/*输入框圆角*/
.borderradius{border-radius: 5px}
/*按钮圆角*/
.bottonradius{text-align:center;background:#ff9f2f;padding:5px 0px;color:white;border-radius:5px;}

/*按钮样式*/
.am-btn-primary {
	color: #fff;
	background-color: #f40;
	border-color: #f40;
}
.am-btn-primary:hover {
	color: #fff;
	background-color: #c23400;
	border-color: #c23400;
}


/*数量加减*/
.lui-num{
    position: absolute;
    top: 0px;
   left:60px
}
/*
.lui-btn-increase{
   width: 28px;
   display:inline-block;
	background-color: #ffffff;
	background: #ddd url(../images/ic_add.png) no-repeat center center;
	border: 1px solid #e6e4e3;
	color: #1abc9c;
	vertical-align:middle;
}
.lui-btn-reduce{
    width: 28px;
    display:inline-block;
	background-color: #ffffff;
	background:#ddd url(../images/ic_subtract.png) no-repeat center center;
	border: 1px solid #e6e4e3;
	color: #1abc9c;
	vertical-align:middle;
    background-color: white;
}
.lui-btn-increase,
.lui-btn-reduce,
.lui-input{
    display: inline-block;
}
*/
.lui-input{
    background: no-repeat left -17px;
    width: 39px;
    height: 30px;
    padding-left: 8px;
}
.lui-input input{
    width: 24px;
    text-align: center;
}

.lui-input input:focus{
    border: none;
    outline: none;

}
.lui-btn-increase.active,
.lui-btn-reduce.active{
//  background-color: #ccc;
	background-color: white;
}


/*Tab切换*/
.lui-tab {
	width: 100%;
	overflow: hidden;
}
.lui-tab-nav {
	width: 100%;
	display: box;
	display: -webkit-box;
	font-size: 16px;
	height: 45px;
	box-sizing: border-box;
	overflow: hidden;
	background-color: #eaedf1;
}
.lui-tab-nav li {
	height: 45px;
	line-height: 45px;
	min-width: 70px;
	box-flex: 1;
	-webkit-box-flex: 1;
	text-align: center;
	color: #666;
	box-sizing: border-box;
	border-bottom: 2px solid transparent;
	width: 100%;
}

/*焦点*/
.lui-tab-nav li.active {
	color: #f40;
	border-bottom: 2px #f40 solid;
	-webkit-animation: fadeIn .5s ease both;
            animation: fadeIn .5s ease both;
}
.lui-tab-nav.lui-tab-border {
	background-color: transparent;
	border: 1px solid #1abc9c;
	border-radius: 3px;
}
.lui-tab-nav.lui-tab-border li {
	width: 1%;
	overflow: hidden;
	line-height: 43px;
	color: #1abc9c;
	background-color: #ffffff;
	border-color: #1abc9c;
	border-left: 1px solid #1abc9c;
}
.lui-tab-nav.lui-tab-border li:first-child {
	border-left: 0px solid #1abc9c;
}
.lui-tab-nav.lui-tab-border li.active {
	background-color: #1abc9c;
	color: #fff;
	-webkit-animation: fadeIn .5s ease both;
            animation: fadeIn .5s ease both;
}

.tabcontent{display:none;}
/*显示tab内容*/
.activeTab {
    display: block;
}

/*单选按钮*/
.lui-radio {
	width: 25px;
	height: 25px;
	position: relative;
	background: #ffffff;
	border: solid 1px #dddddd;
	border-radius: 50%;
	display: table;
	-webkit-appearance: none;
			transition: background-color ease 0.2s;
}
.lui-radio:checked {
	background-color: #3498db;
	border: solid 1px #3498db;
	text-align: center;
}
.lui-radio:checked:before {
	position: absolute;
	left: 5px;
	top: 3px;
	font-size: 15px;
	display: table;
	font-family: FontAwesome,sans-serif;
	content: "\f00c";
	color: #ffffff;
}
.lui-radio:checked:after {
	position: absolute;
	left: 5px;
	top:3px;
	font-size: 15px;
	display: table;
	font-family: FontAwesome,sans-serif;
	content: "\f00c";
	color: #ffffff;
}

/*数字加减类*/
.aui-counter-box {
	width: 100%;
	padding: 5px 0;
	line-height: 30px;
}
.aui-counter-list .aui-checkbox, .aui-counter-list .aui-radio {
	margin: 0;
	margin-top: 16px;
	margin-right: 15px;
}
.aui-counter {
	display: table;
}
.aui-counter-minus,
.aui-counter-plus,
input.aui-counter-input {
	display: table-cell;
	height: 30px;
	vertical-align: top;
	text-align: center;
	font-size: 14px;
	line-height: 28px;
	-webkit-appearance: none;
	border-radius: 0;
	margin:0;
}
.aui-counter-minus,
.aui-counter-plus {
	width: 30px;
	background-color: #ffffff;
	border: 1px solid #e6e4e3;
	color: #1abc9c;
}

.aui-counter-minus:before {
	font-family: FontAwesome,sans-serif;
	font-style: normal;
	-webkit-font-smoothing: antialiased;
	-webkit-text-stroke-width: 0.2px;
	content:"\f068";
	font-size: 16px;
	line-height: 31px;
}
.aui-counter-plus:before {
	font-family: FontAwesome,sans-serif;
	font-style: normal;
	-webkit-font-smoothing: antialiased;
	-webkit-text-stroke-width: 0.2px;
	content:"\f067";
	font-size: 16px;
	line-height: 31px;
}
input.aui-counter-input {
	width: 35px;
	height:33px;
	border-style: solid none;
	border-width: 1px;
	border-color: #e6e4e3;
	color: #262626;
	background-color: #ffffff;
	text-align: center;
	padding: 0;
}





